//
//  OrderCenterCell.m
//  HomeDelivery
//
//  Created by apple on 16/7/26.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "OrderCenterCell.h"

@implementation OrderCenterCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    self.contentView.backgroundColor=LIGHTGRAY;
    self.whiteView.layer.cornerRadius=5;
    self.whiteView.clipsToBounds=YES;
    self.whiteView.layer.borderWidth=0.5;
    self.whiteView.layer.borderColor=GRAYCOLOR.CGColor;
    self.orderDetailBtn.enabled=NO;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

}
-(void)refreshLabelWithFrame:(CGRect)frame andHeight:(CGFloat)height
{
    CGRect rect=self.addressIcon.frame;
    rect.origin.y=frame.origin.y;
    self.addressIcon.frame=rect;
    
    CGRect rect1=self.addressTitle.frame;
    rect1.origin.y=frame.origin.y;
    self.addressTitle.frame=rect1;
}

@end
